package com.chengzhi.eshopinventory.request;

/**
 * 定义
 *
 * @author ruanchengzhi
 * @date 2021/4/1
 */
public interface BaseRequest {

    /**
     * 核心业务逻辑
     *
     * @param
     * @return void
     * @author ruanchengzhi
     * @date 2021/4/2
     */
    void execute();

    /**
     * 获取唯一标识
     *
     * @return java.lang.Long
     * @author ruanchengzhi
     * @date 2021/4/2
     */
    Long getInventoryId();

    /**
     * 是否强制刷新缓存
     *
     * @return boolean
     * @author ruanchengzhi
     * @date 2021/4/2
     */
    boolean isForcedRefresh();
}
